let Mock = require("mockjs")
let data = {
    nav: ["推荐", "女装", "鞋包", "手机", "食品", "母婴", "男装", "百货", "内衣", "电器", "家纺", "水果", "家具", "美妆", "家装", "运动", "车品", "医药", "电脑", "海淘", "饰品", "玩乐"],
    banner: [
        {
            id: 0,
            imgsrc: "https://commimg.pddpic.com/oms_img_ng/2022-05-18/95565fe1-eb7c-4a66-aef1-e86a31f92a46.gif?imageView2/2/w/117/q/80/format/webp",
            text: "限时秒杀"
        },
        {
            id: 1,
            imgsrc: "https://commimg.pddpic.com/oms_img_ng/2022-05-19/eada5bf9-0038-4124-93be-cf3945d30e9d.png?imageView2/2/w/117/q/80/format/webp",
            text: "断码清仓"
        },
        {
            id: 2,
            imgsrc: "https://img.pddpic.com/goods/2020-04-19/ecdc795c12e256a869a883f247ccdc5d.png?imageView2/2/w/117/q/80/format/webp",
            text: "发现好货"
        },
        {
            id: 3,
            imgsrc: "https://img.pddpic.com/goods/2020-01-14/b39df4af9b17ba0d063c04da0aea85aa.png?imageView2/2/w/117/q/80/format/webp",
            text: "多多果园"
        },
        {
            id: 4,
            imgsrc: "https://img.pddpic.com/goods/2020-01-14/8ed387bd5d07f45ce6fee30a0ab80e80.png?imageView2/2/w/117/q/80/format/webp",
            text: "9块9特卖"
        },
        {
            id: 5,
            imgsrc: "https://img.pddpic.com/goods/2020-01-14/37fe68d866cb25a887beeb74699196b9.png?imageView2/2/w/117/q/80/format/webp",
            text: "多多爱消除"
        },

        {
            id: 6,
            imgsrc: "https://img.pddpic.com/goods/2020-01-14/0fab520471880b5728fb7150d77f5390.png?imageView2/2/w/117/q/80/format/webp",
            text: "充值中心"
        },
        {
            id: 7,
            imgsrc: "https://img.pddpic.com/goods/2020-02-26/f9e3069d2e461cd5f5eb7d77ffce9d9d.png?imageView2/2/w/117/q/80/format/webp",
            text: "医药馆"
        },
        {
            id: 8,
            imgsrc: "https://img.pddpic.com/goods/2020-02-24/1ac41ebf88457e29ac4f8b5a01e72f1d.png?imageView2/2/w/117/q/80/format/webp",
            text: "签到"
        },
        {
            id: 9,
            imgsrc: "https://commimg.pddpic.com/oms_img_ng/2020-06-05/6709569b-84e6-4556-b82d-4c9f32840257.png?imageView2/2/w/117/q/80/format/webp",
            text: "多多赚大钱"
        },
        {
            id: 10,
            imgsrc: "https://commimg.pddpic.com/oms_img_ng/2020-12-04/c1a20306-bdb3-42c5-b0bb-e4018ce9f4d6.png?imageView2/2/w/117/q/80/format/webp",
            text: "行家帮你选"
        },
        {
            id: 11,
            imgsrc: "https://img.pddpic.com/goods/2020-01-14/54ece7ca8c54cd8925d631323659e42f.png?imageView2/2/w/117/q/80/format/webp",
            text: "省钱月卡"
        }
    ],
    subsidy: {
        left: [
            {
                imgsrc: "https://funimg.pddpic.com/brand_creation/b974124a-faaa-4c95-b074-e9c4eb6c9e31.png?imageView2/2/w/78/q/80/format/webp",
                info: "百亿补贴",
                text: "大牌正品"
            }
        ],
        right: [
            {
                id: 0,
                imgsrc: "https://img.pddpic.com/mms-material-img/2022-05-16/4c0e121ad1366b050e934dc2eb6d5c4c.jpeg?imageView2/2/w/192/q/80/format/webp",
                price: "4969"
            },
            {
                id: 1,
                imgsrc: "https://img.pddpic.com/mms-material-img/2022-04-30/08067d9a814a4b74b549faa40c020a65.jpeg?imageView2/2/w/192/q/80/format/webp",
                price: "71.1"
            },
            {
                id: 2,
                imgsrc: "https://img.pddpic.com/mms-material-img/2022-05-11/88efd1c486d927089c49f3303a490fc4.jpeg?imageView2/2/w/192/q/80/format/webp",
                price: "4999"
            },
            {
                id: 3,
                imgsrc: "https://img.pddpic.com/mms-material-img/2022-05-16/03d277dda0d800e4f3dca879882f5ab4.jpeg?imageView2/2/w/192/q/80/format/webp",
                price: "149"
            }
        ]
    },
    shopList: [
        {
            id: 0,
            imgsrc: "https://img.pddpic.com/mms-material-img/2022-05-02/ea816a4b-c35d-4bcf-bd34-d72ed5bb6415.jpeg.a.jpeg?imageMogr2/thumbnail/400x%7CimageView2/2/w/400/q/80/format/webp",
            title: "高产红薯秧苗西瓜红烟薯板栗薯商薯济薯秧苗易成活红薯苗批发苗",
            text: ["立减2元", "坏了包赔", "满20减1"],
            price: {
                info: "劵后",
                sign: "￥",
                text: "1.3"
            },
            num: "已拼4926件",
            icon: [],
            ranking: ""
        },
        {
            id: 1,
            imgsrc: "https://img.pddpic.com/mms-material-img/2022-02-27/601d56be-b771-4175-8130-8872ebd1895d.jpeg?imageMogr2/thumbnail/400x%7CimageView2/2/w/400/q/80/format/webp",
            title: "收藏级白玉菩提根手串手链女绕指柔原生态老型桶珠菩提子佛珠念珠",
            text: ["立减1元", "退货包运费"],
            price: {
                info: "劵后",
                sign: "￥",
                text: "6.11"
            },
            num: "已拼10万+件",
            icon: [],
            ranking: ""
        },
        {
            id: 2,
            imgsrc: "https://img.pddpic.com/mms-material-img/2022-03-31/e9f2802a-bfec-4799-8168-53393389e54a.jpeg.a.jpeg?imageMogr2/thumbnail/400x%7CimageView2/2/w/400/q/80/format/webp",
            title: "【500只加厚特惠】手提垃圾袋家用大号加厚背心式宿舍厨房间批发",
            text: ["立减5元", "退货包运费", "满59减3"],
            price: {
                info: "劵后",
                sign: "￥",
                text: "0.98"
            },
            num: "已拼10万+件",
            icon: [],
            ranking: ""
        },
        {
            id: 3,
            imgsrc: "https://img.pddpic.com/mms-material-img/2022-04-30/486a23f0-1f23-4fe3-842e-85614a8c2f1e.jpeg.a.jpeg?imageMogr2/thumbnail/400x%7CimageView2/2/w/400/q/80/format/webp",
            title: "【80包一年加量装】原木抽纸整箱批发商用1包可湿水纸巾实惠",
            text: ["退货包运费", "极速退款"],
            price: {
                info: "劵后",
                sign: "￥",
                text: "9.9"
            },
            num: "已拼1468件",
            icon: []
        },
        {
            id: 4,
            imgsrc: "https://img.pddpic.com/mms-material-img/2022-05-02/505b2967-b448-4434-bc57-6418741b430a.jpeg.a.jpeg?imageMogr2/thumbnail/400x%7CimageView2/2/w/400/q/80/format/webp",
            title: "校园指定六一舞蹈表演男女童运动小白鞋2022新款春秋夏儿童鞋子女",
            text: ["立减8元", "24小时发货", "新品"],
            price: {
                info: "劵后",
                sign: "￥",
                text: "14.9"
            },
            num: "已拼3321件",
            icon: []
        },
        {
            id: 5,
            imgsrc: "https://img.pddpic.com/mms-material-img/2022-05-11/aab55d2b-fe84-467d-8d95-98f838e57c31.jpeg.a.jpeg?imageMogr2/thumbnail/400x%7CimageView2/2/w/400/q/80/format/webp",
            title: "新鲜水蜜桃3/5/10斤脆甜大毛桃现摘桃子应季水果孕妇山西整箱包邮",
            text: ["坏了包赔", "退货包运费"],
            price: {
                info: "",
                sign: "￥",
                text: "12.8"
            },
            num: "已拼10万+件",
            icon: [
                {
                    id: 0,
                    imgsrc: "https://avatar2.pddpic.com/avatar/default/9.png?imageView2/2/w/1300/q/80/format/webp"
                },
                {
                    id: 1,
                    imgsrc: "https://avatar2.pddpic.com/a/Q0dDSS80MjQ2TExyYWJOSDNXdEZkM3VBKzhDSVIxRUphdz09djA0-1630133823?imageMogr2/thumbnail/100x"
                }
            ]
        },
    ]
}
Mock.mock("/homepage", 'get', function () {
    return data;
})